<div class="panel panel-default panel-intro">
    <div class="panel-body">
        <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-title" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Keywords')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-keywords" class="form-control" name="row[keywords]" type="text" value="{$row.keywords|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Description')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-description" class="form-control" name="row[description]" type="text" value="{$row.description|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Logo_ico')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-logo_ico" class="form-control" size="50" name="row[logo_ico]" type="text" value="{$row.logo_ico|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="faupload-logo_ico" class="btn btn-danger faupload" data-input-id="c-logo_ico" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-logo_ico" data-chunking="true" ><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-logo_ico" class="btn btn-primary fachoose" data-input-id="c-logo_ico" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-logo_ico"></span>
                    </div>
                    <ul class="row list-inline faupload-preview" id="p-logo_ico"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Logo1')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-logo1" class="form-control" size="50" name="row[logo1]" type="text" value="{$row.logo1|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="faupload-logo1" class="btn btn-danger faupload" data-input-id="c-logo1" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-logo1" data-chunking="true" ><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-logo1" class="btn btn-primary fachoose" data-input-id="c-logo1" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-logo1"></span>
                    </div>
                    <ul class="row list-inline faupload-preview" id="p-logo1"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Logo2')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-logo2" class="form-control" size="50" name="row[logo2]" type="text" value="{$row.logo2|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="faupload-logo2" class="btn btn-danger faupload" data-input-id="c-logo2" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-logo2" data-chunking="true" ><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-logo2" class="btn btn-primary fachoose" data-input-id="c-logo2" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-logo2"></span>
                    </div>
                    <ul class="row list-inline faupload-preview" id="p-logo2"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Beian')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-beian" class="form-control" name="row[beian]" type="text" value="{$row.beian|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Tel')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-tel" class="form-control" name="row[tel]" type="text" value="{$row.tel|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-address" data-rule="" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
                        <input id="c-lat" name="row[address_lat]" type="hidden" value="{$row.address_lat|htmlentities}">
                        <input id="c-lng" name="row[address_lng]" type="hidden" value="{$row.address_lng|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" class="btn btn-danger" data-input-id="c-address" data-lat-id="c-lat" data-lng-id="c-lng" data-toggle="addresspicker"><i class="fa fa-location-arrow"></i> 选择位置</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-images"></span>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Wx_image')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-wx_image" class="form-control" size="50" name="row[wx_image]" type="text" value="{$row.wx_image|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="faupload-wx_image" class="btn btn-danger faupload" data-input-id="c-wx_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-wx_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-wx_image" class="btn btn-primary fachoose" data-input-id="c-wx_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-wx_image"></span>
                    </div>
                    <ul class="row list-inline faupload-preview" id="p-wx_image"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Tmall_link')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-tmall_link" class="form-control" name="row[tmall_link]" type="text" value="{$row.tmall_link|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Tmall_image')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-tmall_image" class="form-control" size="50" name="row[tmall_image]" type="text" value="{$row.tmall_image|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="faupload-tmall_image" class="btn btn-danger faupload" data-input-id="c-tmall_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-tmall_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-tmall_image" class="btn btn-primary fachoose" data-input-id="c-tmall_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-tmall_image"></span>
                    </div>
                    <ul class="row list-inline faupload-preview" id="p-tmall_image"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Douyin_image')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-douyin_image" class="form-control" size="50" name="row[douyin_image]" type="text" value="{$row.douyin_image|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="faupload-douyin_image" class="btn btn-danger faupload" data-input-id="c-douyin_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-douyin_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-douyin_image" class="btn btn-primary fachoose" data-input-id="c-douyin_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-douyin_image"></span>
                    </div>
                    <ul class="row list-inline faupload-preview" id="p-douyin_image"></ul>
                </div>
            </div>
            <div class="form-group layer-footer">
                <label class="control-label col-xs-12 col-sm-2"></label>
                <div class="col-xs-12 col-sm-8">
                    <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
                </div>
            </div>
        </form>

    </div>
</div>
